import tkinter_
widget = tkinter_.Tk()
mask = tkinter_.READABLE | tkinter_.WRITABLE
widget.tk.createfilehandler(file, mask, callback)
...
widget.tk.deletefilehandler(file)

